//
//  PTGetVideo.swift
//  PointTest28
//
//  Created by sc-chen on 2023/6/27.
//

import SwiftUI

struct PTGetVideo: View {
    @State private var content = "读取视频数据"
    var body: some View {
        VStack {
            Button {
                content = "暂不支持"
            } label: {
                Text(content)
                    .padding(EdgeInsets(top: 10, leading: 30, bottom: 10, trailing: 30))
                    .foregroundColor(.blue)
                    .overlay(
                        RoundedRectangle(cornerRadius: 10)
                            .stroke(Color.blue, lineWidth: 1)
                            .padding(.trailing,5)
                    )
            }.buttonStyle(.plain)
            Spacer()
        }.padding(.top,80)
        
        VStack {
            Button {
                content = "暂不支持"
            } label: {
                Text(content)
                    .padding(EdgeInsets(top: 10, leading: 30, bottom: 10, trailing: 30))
                    .foregroundColor(.blue)
                    .overlay(
                        RoundedRectangle(cornerRadius: 10)
                            .stroke(Color.blue, lineWidth: 1)
                            .padding(.trailing,5)
                    )
            }.buttonStyle(.plain)
            Spacer()
        }.padding(.top,80)
    }
}

struct PTGetVideo_Previews: PreviewProvider {
    static var previews: some View {
        PTGetVideo()
    }
}
